<extend name="Public/base" />
<block name="title1">订单详情</block>
<block name="css">
	<link rel="stylesheet" href="__PUBLIC__/Css/Home/Order/ordermore.css" type="text/css">
</block>
<block name="main1">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~固定在头部的导航栏~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<nav class="navbar navbar-default" role="navigation">
	<div class="navbar-header">
		 <a class="navbar-brand">订单详情</a>
	</div>
</nav>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~展示的表格~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<div class="morebody">
	<div class="obody"><span class="ordnum"><b>订单号:<{$list.ordnum}></b></span></div>
	<div class="ordtitle">&nbsp;&nbsp;<b>收货人信息</b></div>
	<table width=100% align="center" border=0px>		
		<tr height=30px>
			<td width=33%>&nbsp;&nbsp;姓名:<{$list.ord_name}></td>
			<td width=33%>电话:<{$list.ord_tel}></td>
			<td width=34%>详细地址:<{$list.ord_addr}></td>
		</tr>
	</table>
	<div class="ordtitle">&nbsp;&nbsp;<b>订单信息</b></div>
	<table width=100% align="center" border=0px>		
		<tr height=30px>
			<td width=33%>&nbsp;&nbsp;会员账号:<{$list.user_name}></td>
			<td width=33%>支付类型:余额支付</td>
			<td width=34%>下单时间:<{$list.ordtime|date="Y-m-d H:i:s",###}></td>
		</tr>
		<tr height=30px>
			<td></td>
			<td></td>
			<td>
				<if condition="$list.comtime !='' ">
					结单时间:<{$list.comtime|date="Y-m-d H:i:s",###}>
				<else />
					结单时间:尚未结单
				</if>
			</td>
		</tr>
	</table>
	<div class="ordtitle">&nbsp;&nbsp;<b>商品详情</b></div>
	<table width=100% align="center" class="table table-hover">
		<tr height=30px  >
			<th width=40%>商品信息</th>
			<th width=15%>样式</th>
			<th width=15%>单价</th>
			<th width=15%>购买数量</th>			
			<th width=15%>评论状态</th>
		</tr>		
		<foreach name='plist' item='v'>	
		<tr height=100px>
			<td>
				<img src="__ROOT__/Uploads/prod/<{$v.goods_pic}>" alt="图片" class="pimg">
				<span><{$v.goods_name}></span>
			</td>
			<td>
				<span class="s1"><{$v.color}></span>
				<span class="s1"><{$v.mobtype}></span>
				<span class="s1"><{$v.memory}></span>
			</td>
			<td>&yen;<{$v.goods_price}></td>
			<td><{$v.num}></td>
			<td>
				<switch name="v.comment">
				    <case value="0">未评价</case>
				    <case value="1">已评价</case>
				    <default />
				</switch>
			</td>
			
		</tr>
		</foreach>
	</table>
	<div class="foot">
		<input type="button" class='bck' value="返回">					
	</div>
</div>
<input type="hidden" class="order_id" value='<{$list.oid}>'>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~js代码部分~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<script>
$(document).on('click','.bck',function(){
	location.href="<{:U('Home/Order/index')}>";
});

</script>

</block>